﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace URLRewriter.Config
{
    public class UrlConfigElement : ConfigurationElement
    {
        // Properties
        [ConfigurationProperty("destinationUrl", IsRequired = true)]
        public string DestinationUrl
        {
            get
            {
                return (string)base["destinationUrl"];
            }
            set
            {
                base["destinationUrl"] = value;
            }
        }

        [ConfigurationProperty("virtualUrl", IsRequired = true)]
        public string VirtualUrl
        {
            get
            {
                return (string)base["virtualUrl"];
            }
            set
            {
                base["virtualUrl"] = value;
            }
        }
    }

 

}
